<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>登录</title>
<link href="<{$ipath}>user/style/login_index.css" type="text/css" rel="stylesheet"/>
<script src="<{$ipath}>public/js/jquery.js"></script>
<script>
$(document).ready(function(e) {
    $(".add_input").focus(function(){
		$(this).addClass("input_on");
		});
	$(".add_input").blur(function(){
		$(this).removeClass("input_on");
		});
	$(".denglu").mousemove(function(){
		$(this).attr("src","<{$ipath}>user/images/wenzi_05.png");
		})
		$(".denglu").mouseleave(function(){
		$(this).attr("src","<{$ipath}>user/images/wenzi_06.png");
		})
});
	
	//切换验证码
	function conversion(){
		$("#validates").attr('src',"?g=user&m=member&a=vc&"+Math.random());
	}
	
	//验证表单数据
	function checkfrm(){
		$username = $("#username").val();
		$password = $("#password").val();
		$validate = $("#validate").val();
		if($username==''){
			alert('请输入帐号');
			return false;
		}
		if($password==''){
			alert('请输入密码');
			return false;
		}
		if($validate==''){
			alert('请输入验证码');
			return false;
		}
	}
	
	function showerror(id,str){
		$(".span02").hide();
		if(str != '' && str!=null){
			$("#"+id).html(str);
		}
		$("#"+id).show();
	}
</script>
</head>

<body>
<div class="bigbox">
	<!--top-->
    <div class="topbox">
        <!--企悦社区-->
        <div class="top_01">
            <P>企悦社区</P>
        </div>
    </div>
    <!--login-->
    	<!--<div class="logintwo">
    	<img src="<{$ipath}>user/images/login_02.png" class="logo_login">
    	<img src="<{$ipath}>user/images/login_back.png" style="width:100%;">
    	<form action="/?g=user&m=member&a=checkLogin" method="post">
        <div class="inputbox">
        	<div class="put">
        	<span>账号</span><span class="span02">请输入正确的账号</span>
            <input type="text" name="username" class="put01 add_input">
            <span>密码</span><span class="span02">请输入正确的密码</span>
            <input type="password" name="password" class="put01 add_input">
            <span class="yanzheng">验证码</span><span class="span02">请输入正确的验证码</span><br>
            <div class="yanzhengbox">
                <input type="text" name="validate" class="put02 add_input">
                <div class="put03" style="background-color:#FFF; ">
                	<img src="/?g=user&m=member&a=vc" class="ma" id="validates">
                    <img src="<{$ipath}>user/images/login_04.png" class="refresh" onclick="conversion()">
                </div>
            </div>
            <input type="submit" name="denglu" class="put04" value="登录">
            </div>
        </div>
        </form>
        <div class="miaosu">
        	<p>
                <img src="<{$ipath}>user/images/login_05.png">
                <span>高转化率，完成从展示、营销、推广、交易及安全支付的商业闭环，助力资金快速转化。</span>
            </p>
            <p>
                <img src="<{$ipath}>user/images/login_06.png">
                <span>大量用户积累，微信、搜悦、百度、淘宝、四大平台，覆盖上亿客户，精准营销。</span>
            </p>
            <p>
                <img src="<{$ipath}>user/images/login_07.png">
                <span>上手快， 完善、顶尖的培训体系课程与服务，助力快速玩转微营销。</span>
            </p>
        </div>
    </div>-->
    <!--背景图片-->
    <div class="back">
        <div class="logintwo">
            <div class="logo_login">
                <img src="<{$ipath}>user/images/login_02.png">
            </div>
            <div class="loginbox">
                <img src="<{$ipath}>user/images/login.png">
                <form action="?g=user&m=member&a=checkLogin" method="post" onsubmit="return checkfrm();" target="hiddfrm">
                <div class="inputbox">
                    <div class="put">
                        <span><img src="<{$ipath}>user/images/wenzi_02.png"></span>
                        <span class="span02" id="checkup" style="display:none;">请输入正确的账号或密码</span>
                        <span class="span02" id="erroruser" style="display:none;">您没开通企悦，请联系客服</span>
                        <span class="span02" id="jinyong" style="display:none;">您的帐号已被禁用</span>
                        <span class="span02" id="timeend" style="display:none;">您的账户已过期</span>
                        <span class="span02" id="showerrorstr" style="display:none;">登录次数超限</span>
                        <input type="text" name="username" class="put01 add_input" id="username"/>
                        <span><img src="<{$ipath}>user/images/wenzi_03.png"></span>
                        <!--<span class="span02">请输入正确的密码</span>-->
                        <input type="password" name="password" class="put01 add_input" id="password"/>
                        <span class="yanzheng"><img src="<{$ipath}>user/images/wenzi_04.png"></span>
                        <span class="span02" id="checkvc" style="display:none;">请输入正确的验证码</span><br>
                        <div class="yanzhengbox">
                            <input type="text" name="validate" class="put02 add_input" id="validate"/>
                            <div class="put03" style="background-color:#FFF; ">
                                <img src="?g=user&m=member&a=vc" class="ma" id="validates">
                                <img src="<{$ipath}>user/images/login_04.png" class="refresh" onclick="conversion()">
                            </div>
                        </div>
                        <input type="image" src="<{$ipath}>user/images/wenzi_06.png" class="denglu">
                    </div>
                </div>
                </form>
            </div>
        </div>
        <div class="miaosu">
            <img src="<{$ipath}>user/images/high.png">
        </div>
    </div>
    <!--bottom-->
    <div class="bottombox">
    	<div class="bottom_width">
        	<div class="bottom01">
            	<img src="<{$ipath}>user/images/bottom_01.png">
                <ul>
                	<li>中搜网络</li>
                    <li>股票代码:430339</li>
                </ul>
            </div>
            <!--复制-->
            <div class="bottom01">
            	<img src="<{$ipath}>user/images/bottom_02.png">
                <ul>
                	<li>企悦微信服务号</li>
                    <li>最专业的移动互联网</li>
                    <li>企业微营销服务提供商</li>
                </ul>
            </div>
            <!--复制-->
            <div class="bottom01">
            	<img src="<{$ipath}>user/images/bottom_03.png">
                <ul>
                	<li>400 888 1818 (企业业务)</li>
                    <li>联系我们（9:00-19:00）</li>
                </ul>
            </div>
            <!--复制-->
            <div class="bottom01 bottom_last">
            	<img src="<{$ipath}>user/images/bottom_04.png">
                <ul>
                	<li>在线客服</li>
                </ul>
            </div> 
        </div>
        <!--copyright-->
        <div class="copyright">
        	<P>
            	<span>关于我们</span>
                <span>开放平台</span>    
                <span>法律声明</span>      
                <span>意见反馈</span>     
                <span>中搜企悦版权所有 2005-2015</span>  
                <span>京ICP证100943号</span>
           </P>
        </div>
    </div>  
</div>
<iframe width="0" height="0" name="hiddfrm" id="hiddfrm" style="display:none"></iframe>

</body>
</html>
